#include "Avalon/WebServices/Cookie.hpp"

using namespace Avalon;
using namespace Avalon::WebServices;
using namespace std;

Cookie::Cookie() {}

Cookie::Cookie(const string& name, const string& value)
    : m_name(name),
      m_value(value) {}

Cookie::~Cookie() {}

const string& Cookie::GetName() const {
  return m_name;
}

const string& Cookie::GetValue() const {
  return m_value;
}

string Cookie::ToString() const {
  return m_name + "=" + m_value;
}
